Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation on Sortable adapter #872

Merged
merged 5 commits into from Aug 2, 2018
Merged

Add documentation on Sortable adapter #872

merged 5 commits into from Aug 2, 2018

Conversation

shannonAB
Copy link
Contributor

Adapter PR: prebid/Prebid.js#2824

If the Sortable site ID is set globally, `siteId` is not required as a bid param. How to do so:

```javascript
$$PREBID_GLOBAL$$.setConfig({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest the example be pbjs.setConfig instead of $$PREBID_GLOBAL$$

Also - would suggest defining a top-level sortable object in setConfig rather than sortableId. All of our adapter-specific items would go there. e.g.

pbjs.setConfig({
   sortable: {
      id: "example.com"
   }
)};

@bgahagan
Copy link

Hi @bretg , I'll be helping out while Shannon is on vacation for the next few days.

Good idea, I've made the requested changes, let me know what you think.

@bretg
Copy link
Contributor

bretg commented Aug 2, 2018

released in 1.17

@bretg bretg merged commit 00b9287 into prebid:master Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants